clean up curl