remove duplicate tasks