added columns count check