wildcard search debugging, fixed