change valid orientations