remove graph from return of insert