fixed #238

"linefeed" can be configurable