possible fix for Wh counter rollover