updated rotation and crash