simpler fix for MatType debacle (#44)