fix orientation issue on load