fixed bug where col names took over a var