remove old sentry code