removing existing graph on each loadGraph call