remove an unreferenced patch