fixed the glob issue with curl