fixed the notification bug no unnesesary notifications will be sent now.