get the orientation right