fix the small bug. No need to type in getMatrixByName