fix sending a lot of spaces in version string