refactor process_down event