fixing duplicate task status