fix for compass