Fix for newline segment (reset before newline)