drop duplicate ports declarations