make socketio work