fix composite geometries