Fixed version number checker