this will always be None if there is not a valid port no need to set it to None at line 64