fix unitlist, added stats at end