Fixed partial path mathcer (alex did it)