Fixed production database issue