removed debug logging, invite fix