gps_lib fix, not tested