Fixed stats crash and stats not populating.