cleanup GraphActivity