fixed bug where port was not bing formated in the string correctly