Fix compass config