catches divide by zero error on stats page