small fixes to GPSMetricSpace implementation