Incorrect data storing

Hello,

In output data, histogram storage data from previouse event. Like in third there data from second and like that much times. BUT, in some output files, there only data from their event. I dont know where is problem.

Thank you for your response