fixes to make DemoStrategy run