modify block() to ensure notification