fix issue with Function.prototyp.curry and "this"