Fix compass error