fix return value of vote action