tasks bug fix