fix logout cannot receive notification