fix tail wildcards