add user agent debug