remove triangles