fixed bugs in gis_convert