fixed graph reset