remove applied patches