fixing domain name on upload template