the second fix errors with multipolygons