tracing the database leak