Fixes invalid version string