Using other motors

We are building a maslowCNC. Got all the hardware wired.

The motors we ordered for x/y use 1584 steps per revolution and not the 8113.73 of the motors in the kit.

When we run the everything with the default settings, we can jog the sled correctly.

As soon as we change the steps to 1584 then the sled do not move correctly. With long hours of debug, we have found that the Kp values of the Position PID goes to 0. How ever we cannot see where this could happen in the code.

Does anybody have any suggestions or advice?