removed faulty test condition