correct handling of orientation absence