Fixed issue with sanitize function.