clean emm config