fix a bug in download all binaries