fixed voteing bug