clean up some invalid needles