fixing rotation and scale order