Added undefined function when mcast stats are deactivated