fixed the bug of displaying the CFG path.