database configuration fix