fix exchange patch