modify the orientation