fixed the GIS class constructor.