fix statistics merge