Ender 5 s1 issue with homing the x axis

Replace the wheels on the gantry and put it back together now it homes in the back middle of the printer

did you plug the wrong wires into your motors?
x into y / y into x?
are you running marlon or klipper?
what prompted you to swap wheels?
was there something before that?
did you change any firmware?
lots of questions