fixing useragent setting