fixes to demo