curve-fit swap func.2 and func.6

Signed-off-by: xiehuc <xiehuc@gmail.com>