the event onClear is after postFlush