enable using different field name

remove hard code `votes` field name