better handle sentry module