fix the bug of task