formatting for gsub