fix edit of tasks