clean up version string