Fixed the errors now the notifiation works