some fixes for compass direction