fixed the debug displays.