Fixed version detection