fix MAS matrix ordering