withdraw task bug fix