Fix curl extracting.