mag declination handling changes