mid creation process cleanup
Merge branch 'createNewMid'
mid creation cleanup