Fix bug in flash display.