fixed version string generation