fixed edge-drawing