improve debug commands