port is no more a pointer, avoid bug