notifications table fixes