fixes so that voting works