fixing curl example