fix databases settings