minor changes to format request port number stuff