#348 related fix for UnitStats (my fault)