Fix sentry implementation