removed debug code, fix for incorrect counting of invite size