fix nil user in invites