make lastMatch 1D