fixing port checker