isolate useragent checking