fixed compile error for transport.cc