remove unused tasks