fix missing DATABASE dict