fix rotation and translation order