corrected version reading
Merge pull request #38 from desaisid/fix_setup

corrected version reading