fix getMatrix bug
updated