fixed the bug that gives a table name as a column name.