fixed a bug for multi versions and fetch tgz if not exist
added