modify curl syntax