fixing triangles