fix Task.run single task bug