handle line breaks