Fixed bug with wrong columns count