Adding task bug fix