Restore start and end offsets