matches graph fix