wildcard bug corrected