fix edit multiple tasks bug