change apply-generic for diff tags