Rotation correction