bug fix, support large repo upload and download