catch display errors