[fix] Check condition and not assignation