@fcwilt I remove those statements and turns out I had the XY's not lined up with the z drivers and now it works great The only problem I'm having now and I was going to spend tomorrow messing with it is that my first test print the z-axis everything leveled at home that's wonderful but then it was 5 mm away from the bed so I'm sure I've got it some adjustments to do