fixing delete tasks