fix duplicate open port registration