fix sanitize error