fix cancel route, fix task_id = 0