fix the rotation of the picture