task edit bug fix