fix getClient outOf array index bug