fixed version of demo_app