catching now an error when you select no shapefile