fixed extra notifications that were sent.