fix on curl settings