fix outdated cond