quick fix for debug panel