fix ballot number creation