fix for demoMode