handle long data in activity http_referer and http_user_agent fields