hot fix
fix issue with undefined variable when trying to vote