change linefeed to content check