Removing duplicate portnumber attr