fixing the curl example