improve debug logs