fix IF condition
