wildcard rule fix