endstop cleanup