Fix block offset with checkpointing