fix of redirect for invitations

:D