curl lib fix