Check if data package before trying to sanitize it