apply patch duplicate fragment