fix bug with table name