cleanup unreachable code