fix a bug about line breaks