start cleanup of goals and graphs