Lunny Xiao ef9a0370ca
Fix panic when diff ()
* fix panic when diff

* improve code
..
exclude Fix panic when diff ()