Fix a problem that "iterationLine" always keep the next line in the buffer of a output channel.