#102 improve debug