correct syntax for gsub newlines