Fix typo in curry2