making error report pretty