bugfix for getTableColumns
bugfix