once i put the checks in voting worked properly...