fix bug : options curl not used