clear port if in host name