fixed bug where each first column had a reference