indentify problems in taskScheduler