fixes for sentry