fix for port number being converted to ascii