Improve Material's Records
FixMaterial
Fix migration