fix orientation erro