dispay errors
added diag