fixed outport rendering bug