add user agent to close #7