fixing bug when not using compass