fixed asyn-problem in demos