cleanup input port funcs
cleanup output port funcs