fixe condition error