Applying sanitize to smartpack