fixed revert node chain bug