improve debug prints