fix misuse of glob