diff --git a/html/formatter.js b/html/formatter.js
index 01cb0dd..d12746d 100644
--- a/html/formatter.js
+++ b/html/formatter.js
@@ -529,7 +529,7 @@ function wqi(data) {
ac.extraFlags = u8[106];
ac.nogps = ac.extraFlags & 1;
- if (ac.nogps && nogpsOnly) {
+ if (ac.nogps && nogpsOnly && (u8[73] & 64) != 0xffffffff) {
u8[73] |= 64;
u8[73] |= 16;
}