restore condition for needed patches