fixed port listing bug for pivy module