fixed typo in mac curl arguments