fixed bad geometries