fix a little bug in notification