fixed way version number is being retrieved.