Changed setdefault value to production mode