fix autorotation