fixed vote generation condition