Fix modify order patching events, and set flat to decide if show
onMetaDAta and so on