fix generate version string