Fix makeCurry