fix issue with vote