SENTRY-392: fix a minor bug