-fix for Issue finishedCallback #8
-demo updated