fixes for databases and licensing fetching