fix in counting votes