fixing deleting port function