compile ok,but run incorrectly