display errors in ui