diff --git a/vote/VoteParser.js b/vote/VoteParser.js
index 6ffd95456b9df099afcdfeaeed5dcf81c254f77a..a3409814a2bb738d0f9662c0bebb197fbfc0aec8 100644
--- a/vote/VoteParser.js
+++ b/vote/VoteParser.js
@@ -38,13 +38,13 @@ class VoteParser{
     }
 
     categoryCase(category, content){
-        if(category === CATEGORY.SOURCE || category === CATEGORY.SENTENCE){
+        if(category === Category.SOURCE || category === Category.SENTENCE){
             return content;
         }
 
         const char = content.charAt(0);
         const reste = content.slice(1);
-        content = (category === CATEGORY.ACTOR) ? char.toUpperCase() + reste: char.toLowerCase() + reste;
+        content = (category === Category.ACTOR) ? char.toUpperCase() + reste: char.toLowerCase() + reste;
         return content;
     }