distributional database fix