fixed regression in matrix string