use page.site.dbName() rather than a hack to get the dbname