remove unneeded patches