added catches for stats corner cases