fix bug that clear the content of task after delete task. Qiu