fixed vote table issue