fix rendering empty edge's label