fix orientation issue