filter out unused port