Fixed version generation