properly check for demomode