added fix to demo app