remove hard curl dependency