replace patch with  mine