customization for lib curl