fix bug in notification