fix edit tasks