process events should be called after flushing