fixed bug in makeFirstColumn