fixed check_notifications