Try another way to set user agent.