Fixed connection in recieve method