Fixed problem with shp files