fix the bug when edit the information of the task