cleanup
filter out if resourceDomainBase is internal