improve debug panel