clean up and added the default fields for each memory type
merge