fix initialized number of notifications