bug fix on wildcard result