improve the debug info