fix consensus issues