FIX: prevent stack overflow when GPS connected