Fix to bugsnag