bugfix: loading a new data source with fewer rows/columns threw an error