fixed a bug that prevented the use of sentry and removed some unused variables