Improve displaying of errors