fixed subdomain-recognition so we can work with framed-subdomains