fixed geomag errors introduced last time