removed invalid condition