fixing issue with votes