diff --git a/src/thermophysicalModels/specie/reaction/Reactions/Reaction/Reaction.C b/src/thermophysicalModels/specie/reaction/Reactions/Reaction/Reaction.C
index d721f96e4fbfba045468d221b396e3cd0f14a3c2..cad5fafc900a1c3ec0b234730638cea0287f7f1b 100644
--- a/src/thermophysicalModels/specie/reaction/Reactions/Reaction/Reaction.C
+++ b/src/thermophysicalModels/specie/reaction/Reactions/Reaction/Reaction.C
@@ -221,7 +221,7 @@ void Foam::Reaction<ReactionThermo>::setLRhs(Istream& is)
         }
     }
 
-    FatalIOErrorIn("Reaction<ReactionThermo>::lrhs(Istream& is)", is)
+    FatalIOErrorIn("Reaction<ReactionThermo>::setLRhs(Istream& is)", is)
         << "Cannot continue reading reaction data from stream"
         << exit(FatalIOError);
 }
@@ -254,7 +254,7 @@ Foam::Reaction<ReactionThermo>::Reaction
     ReactionThermo(*thermoDatabase[species[0]]),
     species_(species)
 {
-    setLRhs(dict.lookup("reaction"));
+    setLRhs(IStringStream(dict.lookup("reaction"))());
     setThermo(thermoDatabase);
 }