Fixing then CURL bug