fix database production config