remove unneeded portmaps