clean up display.c