Curl init fix