rename xss func