fix wildcards & quotes bug