Fix portnumber is stored as a string