added real port stripping