diff --git a/CMakeLists.txt b/CMakeLists.txt
index d3313d3d7b2a74e779b82a0d30e14849f752180c..c53a8c10b189a89a2658c7ffad2911f7282c2bd9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,7 +35,7 @@ include_directories(perceptron/lib/include)
 add_subdirectory(maca_common)
 add_subdirectory(maca_tools)
 add_subdirectory(perceptron)
-#add_subdirectory(maca_lemmatizer)
+add_subdirectory(maca_lemmatizer)
 #add_subdirectory(maca_morpho)
 add_subdirectory(maca_tokenizer)
 add_subdirectory(maca_lexer)
diff --git a/maca_lemmatizer/src/maca_lemmatizer.c b/maca_lemmatizer/src/maca_lemmatizer.c
index e8aeecdda1ef9d29d0efa407e868bc1b2f03eb09..d0301081c61c69a2e97ca67baa84bcf6202a1f7c 100644
--- a/maca_lemmatizer/src/maca_lemmatizer.c
+++ b/maca_lemmatizer/src/maca_lemmatizer.c
@@ -68,7 +68,7 @@ char **read_fplm_file(char *fplm_filename, hash *form_pos_ht, int debug_mode)
 
     if(num >= lemma_array_size){
       lemma_array_size = 2 * (lemma_array_size) + 1;
-      lemma_array = realloc(lemma_array, (lemma_array_size) * sizeof(char *));
+      lemma_array = (char **)realloc(lemma_array, (lemma_array_size) * sizeof(char *));
     }
 
     /* if(lemma_array[num] == NULL) */
@@ -78,14 +78,15 @@ char **read_fplm_file(char *fplm_filename, hash *form_pos_ht, int debug_mode)
   /* fprintf(stderr, "%d entries loaded\n", num); */
   return lemma_array;
 }
-
+/*
 char *to_lower_string(char *s)
 {
-  int i;
+  unsigned int i;
   for(i=0; i < strlen(s); i++)
     s[i] = tolower(s[i]);
   return s;
 }
+*/
 /*
 void print_word(char *input, mcd *mcd_struct, char *lemma)
 {
@@ -225,8 +226,8 @@ int main(int argc, char *argv[])
     
     /* print_word(buffer, ctx->mcd_struct, lemma); */
 
-    printf("form = %s pos = %s (%s) feats = %s lemma = %s\n", form, pos, form_pos, feats, lemma); 
-    printf("form = %s pos = %s (%s) feats = %s lemma = %s\n", form, pos, form_pos, feats, lemma); 
+    /*    printf("form = %s pos = %s (%s) feats = %s lemma = %s\n", form, pos, form_pos, feats, lemma); 
+	  printf("form = %s pos = %s (%s) feats = %s lemma = %s\n", form, pos, form_pos, feats, lemma); */
     printf("\t%s\n", lemma);
     
     if(pos)free(pos);
diff --git a/maca_trans_parser/CMakeLists.txt b/maca_trans_parser/CMakeLists.txt
index 20cdbc5e52a8b93ce352aad0c36874acdc91e501..169c3e8ad5f9f13d08ed5b0ceca07b697b2bcaf9 100644
--- a/maca_trans_parser/CMakeLists.txt
+++ b/maca_trans_parser/CMakeLists.txt
@@ -184,11 +184,11 @@ target_link_libraries(maca_trans_interpreter transparse)
 target_link_libraries(maca_trans_interpreter maca_common)
 install (TARGETS maca_trans_interpreter DESTINATION bin)
 
-add_executable(maca_lemmatizer ./src/maca_trans_lemmatizer.c)
-target_compile_options(maca_lemmatizer INTERFACE -Wall)
-target_link_libraries(maca_lemmatizer transparse)
-target_link_libraries(maca_lemmatizer maca_common)
-install (TARGETS maca_lemmatizer DESTINATION bin)
+add_executable(maca_trans_lemmatizer ./src/maca_trans_lemmatizer.c)
+target_compile_options(maca_trans_lemmatizer INTERFACE -Wall)
+target_link_libraries(maca_trans_lemmatizer transparse)
+target_link_libraries(maca_trans_lemmatizer maca_common)
+install (TARGETS maca_trans_lemmatizer DESTINATION bin)
 
 
 #add_executable(test_w2v ./src/test_w2v.c)