fixed issue about : the package 'exhide' will cause the node's 'isLastNode'  is wrong value.