fix minor bug in global.getNavData