fix replication class table names