removed broken global error and add detection of concurrency output problems