fixing condition.