fix origin strings to use wildcard