smarter implicit heading detection