I think the new code fixed the debug issue