fixed the demo