disable curl constructor