fix bug in notification.coffee