diff --git a/reading_machine/src/Transition.cpp b/reading_machine/src/Transition.cpp
index a0edfc37e6769c81285e3989fa83d93d3e67b2ff..61681fcb4f4aed1a6d7a1d74d3406225dc6ff05f 100644
--- a/reading_machine/src/Transition.cpp
+++ b/reading_machine/src/Transition.cpp
@@ -175,7 +175,7 @@ void Transition::initAddCharToWord()
 
     auto letter = fmt::format("{}", config.getLetter(config.getCharacterIndex()));
     auto & goldWord = config.getConst("FORM", config.getWordIndex(), 0).get();
-    auto & curWord = config.getLastNotEmptyConst("FORM", config.getWordIndex()).get();
+    auto & curWord = config.getAsFeature("FORM", config.getWordIndex()).get();
     if (curWord.size() + letter.size() > goldWord.size())
       return 1;
 
@@ -399,7 +399,7 @@ void Transition::initEOS()
         continue;
 
       auto otherStackIndex = config.getStack(i);
-      auto otherStackGovPred = config.getLastNotEmptyHypConst(Config::headColName, otherStackIndex);
+      auto otherStackGovPred = config.getAsFeature(Config::headColName, otherStackIndex);
 
       if (util::isEmpty(otherStackGovPred))
         ++cost;