Fix compass error.