removing unneeded duplicate tasks