fix note value gsub to strip single escape slash