fix socketio connect bug