fixed bug: dublicate tasksDecision produces new tasks