fix matrix error