fix compass bug
remove unused files