fixing databases settings