modify curl class