fix coinciding variables in socket handling