Add Medean Filter, fix ping problem