# Extra alignment tab has been changed to \cr error [duplicate]

This question already has an answer here:

I found from several posts that this usually happens due to extra column in data. But I can't find it in my code. Here is the partial code:

\begin{table}[h]
\tbl{Comparison of parameters using different k value}{
\begin{tabular}{ |c|c|c|c|c|c|c|c|c|}
\toprule
Dataset & $A$ & $B$ & $C$ & $D$ & $E$ & $F$ & \multicolumn{2}{c|}{G}\\
\cline{8-9}
&&&&&&&{H}&{I}&
\hline
\multirow{2}{*}{DATA1} & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\
\cline{3-9}
& 2 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\
\hline
\end{tabular}
}
\end{table}


where tbl is defined as:

\long\def\tbl#1#2{%
\parindent\z@\ignorespaces\noindent\tablecaptionfont
\caption{#1}%
\par\setbox\tempbox\hbox{\tablefont #2}%

• &&&&&&&{H}&{I}& should be &&&&&&&{H}&{I} \\  – sodd Nov 27 '16 at 14:58