delete necessary task