remove duplicate and unneeded schedule task