Fix main globbing