fixed other issue related to gis sql compiler