removing duplicated tasks