fixed xplevent, stats are now stored