fixed the orientation