improve debug output