fixed socket typo error