improve effect for diff.