fix in ncol(X)