orientation determined incorrectly