tidied the object reporting for error messages