removed graph bugs
modefied graph