Fix some problem in the edition of task