Fix Port Assignment