fixed badge refresh after reset