fix async error reporting