Fix bug of incorrect patchParam table splicing.