fix debug display.