set correct user agent