removing multiple instance of graphr