the parsing for HomepageForDomainExtension inputs seem rather dubious ...
here is a working version.