Z axis motor will go in opposite direction

nemo 23 motor for router will go in opposite direction frequently. New motor and g shield replaced and wiring double checked. It is on my upgraded x carve

Did you run Machine Setup on Easel?

I noticed the insulation on the supplied wiring would up open on tight bends. I tinned the ends before inserting into the blocks.