fix databases config