fixed bug in deleting gis