Fixed bug: flush_element has already dead