fixed duplicate graph