fixed memory leak for block version of notification