add user-agent setting.