remove an extraneous linefeed