added clear_ref to stats manager, consolecontroller.stats call