Fix compass issue