tried to fix manifold errors