fix edit of task