making version fetching more robust.