bugfix in ShapefileReader