diff --git a/alib2data/src/grammar/Regular/LeftRG.h b/alib2data/src/grammar/Regular/LeftRG.h
index 96132d643e08b19d6c38db34b87707220a730c00..6f6c59372dae0d0ad31490667dd1df6468e68195 100644
--- a/alib2data/src/grammar/Regular/LeftRG.h
+++ b/alib2data/src/grammar/Regular/LeftRG.h
@@ -518,7 +518,7 @@ public:
 	static bool used ( const grammar::LeftRG < SymbolType > & grammar, const SymbolType & symbol ) {
 		for ( const std::pair < const SymbolType, ext::set < ext::variant < SymbolType, ext::pair < SymbolType, SymbolType > > > > & rule : grammar.getRules ( ) )
 			for ( const ext::variant < SymbolType, ext::pair < SymbolType, SymbolType > > & rhs : rule.second )
-				if ( ( rhs.template is < SymbolType > ( ) && ( rhs.template get < SymbolType > ( ) == symbol ) ) || ( rhs.template get < ext::pair < SymbolType, SymbolType > > ( ).first == symbol ) )
+				if ( ( rhs.template is < SymbolType > ( ) && ( rhs.template get < SymbolType > ( ) == symbol ) ) || ( rhs.template get < ext::pair < SymbolType, SymbolType > > ( ).second == symbol ) )
 					return true;
 
 		return false;
@@ -572,7 +572,7 @@ public:
 				return true;
 
 			for ( const ext::variant < SymbolType, ext::pair < SymbolType, SymbolType > > & rhs : rule.second )
-				if ( rhs.template get < ext::pair < SymbolType, SymbolType > > ( ).second == symbol )
+				if ( rhs.template get < ext::pair < SymbolType, SymbolType > > ( ).first == symbol )
 					return true;
 
 		}