fix getTableName()