fix the bug of not showing graph and stack