Fixing column, rows count