Fix task manage