fixed composeFunctionWithCoder