delete patch and adjust package