improve debug output.