fixing bug with quorum