Fix bug with table name