Fixed version parsing