remove the unreachable code