fix warnings about unreachable code
fix warning about unreachable code