fixed bug with vote signing