fixed divide by zero error when displaying stats