fix compass issues