fix the invitation controller so it doesnt drop name