Fixed call to undefined function sanitize.