fixed bug in notification