clean up versions for better version string