updated sanitize to fix errors
added import