fix 'if' condition