fixed indexoutofbounds exception on one line notifications (finally)