fixed for cMat loading