resolve geodist bug