fix portnum