removed broken glob implementation