added case of no compass on device