fix compute_task not correct bug