diff --git a/remix-debug/src/solidity-decoder/internalCallTree.js b/remix-debug/src/solidity-decoder/internalCallTree.js
index <HASH>..<HASH> 100644
--- a/remix-debug/src/solidity-decoder/internalCallTree.js
+++ b/remix-debug/src/solidity-decoder/internalCallTree.js
@@ -81,7 +81,7 @@ class InternalCallTree {
     */
   findScope (vmtraceIndex) {
     let scopeId = this.findScopeId(vmtraceIndex)
-    if (!scopeId) return null
+    if (scopeId !== '' && !scopeId) return null
     let scope = this.scopes[scopeId]
     while (scope.lastStep && scope.lastStep < vmtraceIndex && scope.firstStep > 0) {
       scopeId = this.parentScope(scopeId)
take into account when scopeId is empty string