fixed formatting
changed vote.none to vote.neutral
added type conversion for vote parameter