fix obtaining version string