add .try() when force_encoding on user-agent