implemented workaround for circular structure stringify error in _console.error