display errors

and warnings