bug fix for the weekusage and happy hour feature