added compass fix