Reducing risks from GPS glitches