fixed rotation scaling  problem