fixed socket use