remove invalid needle