minor cleanup in graphactivity