added additional errors to display.c