fix missing end bracket in user agent string