Fix gsub on Symbol error