clean some patchs