production database fix