better display errors