Fix linefeed bug