fixed graph issue