fixes to mats