fix arcs orientation