fix Issue 9332 statement is not reachable