fixing cond.