fixing user agent strings