changed useragent detection