fix bug version comparing for download.