apply patch support