socket configuration fix