fix task.done