cleanup user agent