fixed passing wtClient around