Invitation bugs fixed