fix class transaction