Fix the debug problem