more debugging hacks