stats in terminate