detect each user agent in lazy mode