remove emit error from get_stats socketio