fixed gps parse code