fixing notifications.prune