fixed a bug of using wildcard in quotes