fixed graph disapearation probblem