Remove invalid line