fixed curry 2+ args error