fixed the sub-domain issue