bugfix in shapefile reader