fixed merge issue on handle sockets module