fix for highlighting edges with no attrs
more fixes