fix notification console error