fixed table name generation by class