Find the direction cables and swap the connections?I don't know too much about Arduino based systems,but if the same number of pulses are going to the steppers,it seems to be the logical thing to correct the direction problem.Just don't try it at the extreme ends of travel and only test with a very small movement.