support for port/thread number change