Fix in matrix parser