fixing problem with globs