Fixed Startup

-Fixed bug in startup of demo.