removed task_pending attribute