fix error when reading a multipolygon