remove the unneeded patch