parse and verify the version