fixed inputVars.ports again