fix compass import