FIxed ONPORTTABLE error and Port Table delete Error