fix for duplicates of  sent notifications