bugfix for compare stats