correction in scale and orientation