correct error

"There is Function0 through 22", so the index of `Function` should start from `0` but not `1`