Rotation repair bug