Fix fetching version