votes model fix