adjust parameters' order for method `fold`