removed warning (tautological-compare, unreachable-code)