Fix compass errors