removing unused tasks