fix undefined variable when error loading notification feed