Fix not overwriting the redicted port