fix direct path to use subdomain