to correct the direction on any locomotive:
make sure the loco is currently selected on the cab and is on the track, set to speed 0
press prog/ esc 1 time to get to "program on main"
confirm loco number and press enter
press 3 for CFG
the first item that comes up is the "direction bit"
change as needed - usually this will be press 1 to reverse from the current direction
press prog/esc twice to get back to normal operating screen.