check ncol length