fix compass overwrite