remove #undefs from display.c