phase graph fix