path graph fix