How to rollback in checkpoint