fixing unreachable conditional.