fix compass thanks to FBis251's fix