diff --git a/data-access/engine/src/common/src/ast_frameset.cpp b/data-access/engine/src/common/src/ast_frameset.cpp
index caffcc8c293b8c94877ea587b512b58398a66cd0..9a8c72453a9e9b31bbc6ec1acf95c25c3e8e5d98 100644
--- a/data-access/engine/src/common/src/ast_frameset.cpp
+++ b/data-access/engine/src/common/src/ast_frameset.cpp
@@ -200,7 +200,9 @@ bool ast::frameset::has_specframe(void)
       }
 
       int isspec = astIsASpecFrame((AstFrame*)frm);
-      if(isspec && is_specdomain(frm)) return true;
+      int isspecdomain = is_specdomain(frm);
+      LOG_STREAM << "isSpecFrame: " << to_string(isspec) << " is_specdomain: " << to_string(isspecdomain) << endl;
+      if(isspec && isspecdomain) return true;
 
       cmpframe = first;