remove unneeded tasks