fixed compass issue