fixing the printfs in Endstops