resolve rotation can not be locked bug