removed unreachable `break` statements