fixed Port.java