correct handling of glob patterns in "main"
release v0.3.4