diff --git a/src/main/scala/leon/solvers/smtlib/SMTLIBCVC4QuantifiedSolver.scala b/src/main/scala/leon/solvers/smtlib/SMTLIBCVC4QuantifiedSolver.scala
index ce6783574bc1ddd16e92624b8eaabd5cf870a731..9a949a6d7e153355bd5357ae21d0d2546a83b89f 100644
--- a/src/main/scala/leon/solvers/smtlib/SMTLIBCVC4QuantifiedSolver.scala
+++ b/src/main/scala/leon/solvers/smtlib/SMTLIBCVC4QuantifiedSolver.scala
@@ -78,8 +78,8 @@ abstract class SMTLIBCVC4QuantifiedSolver(context: LeonContext, program: Program
       )
     }
 
-    val smtBodies = smtFunDecls map { case FunDec(sym, _, _) =>
-      val tfd = functions.toA(sym)
+    val smtBodies = smtFunDecls map { case f =>
+      val tfd = functions.toA(f.name)
       try {
         toSMT(tfd.body.get)(tfd.params.map { p =>
           (p.id, id2sym(p.id): Term)
@@ -137,7 +137,7 @@ abstract class SMTLIBCVC4QuantifiedSolver(context: LeonContext, program: Program
 
     // We want to check if the negation of the vc is sat under inductive hyp.
     // So we need to see if (indHyp /\ !vc) is satisfiable
-    liftLets(matchToIfThenElse(and(andJoin(inductiveHyps), not(cond))))
+    liftLets(matchToIfThenElse(andJoin(inductiveHyps :+ not(cond))))
 
   }