debug the demo.py to catch the bug, but get nothing