fix a condition