better error print layout