fixed the duplication of tasks bug
Merge pull request #5 from Gloryofthe80s/jacob_branch

fixed the duplication of tasks bug