value of voted was inverted