fixed bug in notification window