overwrite sanitize class