- fixed wrong calculation of stats in commands