fixe graph building