before refactoring transport by removing all callbacks