Fix setting table name, case where none set