clean up flow
fix flow
demo socketio