curl was failing