Add version check for sanitize option.