clear last line even invalid line