fixed a gis related bug