fix curry order