improved reset of the notification flags
version 2.6