forgot to reset the line counter