glob fix, and bug fix on dequeue