update compass

fix compass complie