fix
fix
probelm diff_n self.diff_n non exist in some nodes