fixed fatal floor in voting code