on_invite fixed