minor adjustments to actually use cpi in vote.cc