Fixed not reachable code