improve debug info