fixed debug panel