remove unecessary x_scale/y_scale multiplication