fixing re-invitation error