fixed rotate and scale