fixing DB statics for tenant