clean m-c structure