remove socketio and change q and a to parent child