removed escape character from replacment string in string.gsub calls