removed broken error reporting