fixed divide by zero error in today stat dispaly functions