fix DEBUG which tries to print out inst of Entry Node