fix database configuration