fix a lazyniess inssue in consensus computation