fix invitation notification bug