fixed bug that counted the user vote while throwing the already voted error