fixes wildcard issues