curl opts should be int