fixed bug on getting list of columns