Fix vote bug