Fix voting
Remove debug code