patch up modelmatrix building