fixed another orientation bug