fix defaultOrientation issue