Fixed connection cout bug