fix curried functions typo