fixed empty vote count bug