sentry-404:some logic fixed