cleanup curl