fixes for gis libraries