Fixing bug with port number in connection string